package cn.achao.csr.openapi.core.model.req;

import cn.achao.csr.openapi.core.annotation.ThirdServiceReq;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Author: achao
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@ThirdServiceReq(serviceCode = "deepSeek")
public class DeepSeekReq extends ThirdRequest{


    private String model;
    private List<MessagesDTO> messages;
    private Boolean stream;
    private Integer max_tokens;
    private List<String> stop;
    private Double temperature;
    private Double top_p;
    private Integer top_k;
    private Double frequency_penalty;
    private Integer n;
    private ResponseFormatDTO response_format;

    @NoArgsConstructor
    @Data
    public static class ResponseFormatDTO {
        private String type;
    }

    @NoArgsConstructor
    @Data
    public static class MessagesDTO {
        private String role;
        private String content;
    }
}
